﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Role : Father
    {
        public Role(string Name):base(Name) 
        {
        }
        public Role() { }
        public override string  Xingwei()
        {
            base.Xingwei();
            
            Random r = new Random();
            int v = r.Next(1,4);

            switch (v)
            {
                case 1:
                    return "剪刀";
                case 2:
                    return "石头";
                case 3:
                    return "布";
                default:
                    break;
            }

            return null;
        }
    }
}
